// import { buildProps } from '../util/scrollbar'
import type { ExtractPropTypes } from 'vue'
import type Bar from './bar.vue'

export const barProps = ({
    always: {
        type: Boolean,
        default: true,
    },
    width: String,
    height: String,
    ratioX: {
        type: Number,
        default: 1,
    },
    ratioY: {
        type: Number,
        default: 1,
    },
} as const)
export type BarProps = ExtractPropTypes<typeof barProps>

export type BarInstance = InstanceType<typeof Bar>